Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@arcblock/mcrypto
Advanced tools
Forge mcrypto implementation for javascript, just a wrapper around existing javascript crypto libraries.
npm i @arcblock/mcrypto -S
# OR
yarn add @arcblock/mcrypto
const { Signer } = require('@arcblock/mcrypto');
const keyPair = Signer.Ed25519.genKeyPair();
const message = 'some message to sign';
const signature = Signer.Ed25519.sign(message, keyPair.secretKey);
const result = Signer.Ed25519.verify(message, signature, keyPair.publicKey);
assert.ok(result);
const { Hasher } = require('@arcblock/mcrypto');
const message = 'message to hash';
const hash = Hasher.SHA2.hash256(message);
For full documentation, checkout README.md.
ed25519
: tweetnacl0.39.7 (October 29, 2019)
FAQs
Crypto lib that provides signer,crypter,hasher interface
The npm package @arcblock/mcrypto receives a total of 89 weekly downloads. As such, @arcblock/mcrypto popularity was classified as not popular.
We found that @arcblock/mcrypto demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.